//
//  CheckPoint.h
//  SimpleMapView
//
//  Created by Stefan Ivanov on 12/1/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/Mapkit.h>

@interface CheckPoint : NSObject<MKAnnotation>{
    CLLocationCoordinate2D coordinate;
    NSString * points;
}

@property(nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property(nonatomic, readonly) NSString * points;

-(id)initWithCoordinate:(CLLocationCoordinate2D)coordinate amountOfPoints:(NSString *)points;

-(NSString *)title;

-(NSString *)subtitle;

@end
